    <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="layouts::header"></head>
<body>

<nav th:replace="layouts::navbar"></nav>
        <div class="container">
             <form th:action="@{/projects/save}" th:object="${project}" method="POST">
             <br>
             <div class="form-group">
                 <div class="col-sm-6">
                    <input class="btn btn-info" type="text" placeholder="项目名称" th:field="*{name}">
                 </div>
             </div>
              <br>
              <div class="form-group">
                  <div class="col-sm-6">
                     <select class="btn btn-info" th:field="*{stage}">
                        <option value="未开始">未开始</option>
                        <option value="进行中">进行中</option>
                        <option value="已完成">已完成</option>
                     </select>
                  </div>
              </div>
              <br>

              <div class="form-group">
                  <div class="col-sm-6">
                 <textarea class="btn btn-info" type="text" placeholder="输入项目描述" th:field="*{description}"></textarea>
                  </div>
              </div>
              <br>

              <div class="form-group">
                  <div class="col-sm-6">
                    <select class="btn btn-info" th:field="*{students}" multiple="multiple">
                        <option th:each="student : ${allStudents}" th:value="${student.studentId}" th:text="${student.name}"></option>
                    </select>
                  </div>
              </div>
              <br>
                     <button type="submit">新建项目</button>
             </form>
         </div>

</body>
</html>